package com.zmn.oms.dubbo.dto.zmn.order.sourcechannel;

import lombok.Data;

import javax.validation.constraints.Max;
import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.List;

/**
 * 来源渠道单查询条件
 * @author: LuJia
 * @version: v1.0
 * @since: 2019/12/26 10:01
 **/
@Data
public class SourceChannelOrderQueryDIO implements Serializable {

    /**
     * 来源渠道Id
     */
    @NotNull
    private Integer sourceChannelId;

    /**
     * 渠道结算状态
     */
    private Integer channelStatementStatus;

    /**
     * 工单状态
     */
    private List<Integer> statusList;

    /**
     * 工单结果
     */
    private List<Integer> resultStatusList;

    /**
     * 分页条数
     */
    @Min(value = 1)
    @Max(value = 100)
    private Integer pageSize;

    /**
     * 多少页
     */
    @NotNull
    private Integer pageIndex;

    /**
     * 排序字段
     */
    private String orderField;

    /**
     *  2 倒序 1 正序
     */
    private Integer defaultOrder = 2;
}
